import dayjs from 'dayjs';
import duration from 'dayjs/plugin/duration';
import utc from 'dayjs/plugin/utc';
import relativeTime from 'dayjs/plugin/relativeTime';
import weekday from 'dayjs/plugin/weekday';

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
const dayJs = dayjs.extend(duration).extend(utc).extend(relativeTime).extend(weekday);

export default dayJs;
